package com.longxi.tianjintianbao.api;

import com.longxi.tianjintianbao.api.response.PgyCheck;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by kuma on 2018/4/12.
 */

public interface PgyApi {

    public static String IP =  "www.pgyer.com";
    public static final String BASE_URL = "https://"+ IP + "/";

    //登录
    @FormUrlEncoded
    @POST("apiv2/app/view")
    Observable<PgyCheck> pgyCheck(@Field("_api_key") String _api_key, @Field("appKey") String appKey, @Field("buildKey") String buildKey);

}
